package com.ddstation.lab.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "dt_health_data_medical_test")
public class DtHealthDataMedicalTest {
    @Id
    private Integer id;

    /**
     * 门诊流水号
     */
    @Column(name = "medical_serial_no")
    private String medicalSerialNo;

    /**
     * 机构编号
     */
    @Column(name = "institution_id")
    private String institutionId;

    @Column(name = "uid")
    private String uid;

    /**
     * 门诊病历ID
     */
    @Column(name = "medical_id")
    private String medicalId;

    /**
     * 处方ID
     */
    @Column(name = "prescription_id")
    private Integer prescriptionId;

    /**
     * 检验类型 10:本院 20:外送
     */
    @Column(name = "test_type")
    private Short testType;

    @Column(name = "item_id")
    private String itemId;

    /**
     * 检查治疗项目
     */
    @Column(name = "item_name")
    private String itemName;

    /**
     * 项目价格
     */
    @Column(name = "item_price")
    private Float itemPrice;

    /**
     * 标本
     */
    @Column(name = "specimen_text")
    private String specimenText;

    /**
     * 0:免费 1:收费 2:医保
     */
    @Column(name = "fee_mode")
    private Short feeMode;

    /**
     * 开处方医生
     */
    @Column(name = "doctor_id")
    private Integer doctorId;

    /**
     * 开处方医生
     */
    @Column(name = "check_doctor")
    private String checkDoctor;


    /**
     * 出具日期
     */
    @Column(name = "issue_dt")
    private Date issueDt;

    @Column(name = "update_tm")
    private Date updateTm;

    @Column(name = "create_tm")
    private Date createTm;

    /**
     * 备注
     */
    private String comment;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取门诊流水号
     *
     * @return medical_serial_no - 门诊流水号
     */
    public String getMedicalSerialNo() {
        return medicalSerialNo;
    }

    /**
     * 设置门诊流水号
     *
     * @param medicalSerialNo 门诊流水号
     */
    public void setMedicalSerialNo(String medicalSerialNo) {
        this.medicalSerialNo = medicalSerialNo;
    }

    /**
     * 获取机构编号
     *
     * @return institution_id - 机构编号
     */
    public String getInstitutionId() {
        return institutionId;
    }

    /**
     * 设置机构编号
     *
     * @param institutionId 机构编号
     */
    public void setInstitutionId(String institutionId) {
        this.institutionId = institutionId;
    }

    /**
     * 获取门诊病历ID
     *
     * @return medical_id - 门诊病历ID
     */
    public String getMedicalId() {
        return medicalId;
    }

    /**
     * 设置门诊病历ID
     *
     * @param medicalId 门诊病历ID
     */
    public void setMedicalId(String medicalId) {
        this.medicalId = medicalId;
    }

    /**
     * 获取处方ID
     *
     * @return prescription_id - 处方ID
     */
    public Integer getPrescriptionId() {
        return prescriptionId;
    }

    /**
     * 设置处方ID
     *
     * @param prescriptionId 处方ID
     */
    public void setPrescriptionId(Integer prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    /**
     * 获取检验类型 10:本院 20:外送
     *
     * @return test_type - 检验类型 10:本院 20:外送
     */
    public Short getTestType() {
        return testType;
    }

    /**
     * 设置检验类型 10:本院 20:外送
     *
     * @param testType 检验类型 10:本院 20:外送
     */
    public void setTestType(Short testType) {
        this.testType = testType;
    }

    /**
     * @return item_id
     */
    public String getItemId() {
        return itemId;
    }

    /**
     * @param itemId
     */
    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取检查治疗项目
     *
     * @return item_name - 检查治疗项目
     */
    public String getItemName() {
        return itemName;
    }

    /**
     * 设置检查治疗项目
     *
     * @param itemName 检查治疗项目
     */
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    /**
     * 获取项目价格
     *
     * @return item_price - 项目价格
     */
    public Float getItemPrice() {
        return itemPrice;
    }

    /**
     * 设置项目价格
     *
     * @param itemPrice 项目价格
     */
    public void setItemPrice(Float itemPrice) {
        this.itemPrice = itemPrice;
    }

    /**
     * 获取标本
     *
     * @return specimen_text - 标本
     */
    public String getSpecimenText() {
        return specimenText;
    }

    /**
     * 设置标本
     *
     * @param specimenText 标本
     */
    public void setSpecimenText(String specimenText) {
        this.specimenText = specimenText;
    }

    /**
     * 获取0:免费 1:收费 2:医保
     *
     * @return fee_mode - 0:免费 1:收费 2:医保
     */
    public Short getFeeMode() {
        return feeMode;
    }

    /**
     * 设置0:免费 1:收费 2:医保
     *
     * @param feeMode 0:免费 1:收费 2:医保
     */
    public void setFeeMode(Short feeMode) {
        this.feeMode = feeMode;
    }

    /**
     * 获取开处方医生
     *
     * @return doctor_id - 开处方医生
     */
    public Integer getDoctorId() {
        return doctorId;
    }

    /**
     * 设置开处方医生
     *
     * @param doctorId 开处方医生
     */
    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getCheckDoctor() {
        return checkDoctor;
    }


    public void setCheckDoctor(String checkDoctor) {
        this.checkDoctor = checkDoctor;
    }


    /**
     * 获取出具日期
     *
     * @return issue_dt - 出具日期
     */
    public Date getIssueDt() {
        return issueDt;
    }

    /**
     * 设置出具日期
     *
     * @param issueDt 出具日期
     */
    public void setIssueDt(Date issueDt) {
        this.issueDt = issueDt;
    }

    /**
     * @return update_tm
     */
    public Date getUpdateTm() {
        return updateTm;
    }

    /**
     * @param updateTm
     */
    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    /**
     * @return create_tm
     */
    public Date getCreateTm() {
        return createTm;
    }

    /**
     * @param createTm
     */
    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    /**
     * 获取备注
     *
     * @return comment - 备注
     */
    public String getComment() {
        return comment;
    }

    /**
     * 设置备注
     *
     * @param comment 备注
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}